package com.von.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 字典-项
 * </p>
 *
 * @author xiaosai
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DictionaryItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字典组id
     */
    private Integer groupId;

    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    private String value;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    private Integer status;

    @TableLogic
    private Integer isdel;


}
